
using System.Data.Entity.ModelConfiguration;

namespace OBUCare.Core.Models.Mapping
{
    public class INVOICE_DETAILMap : EntityTypeConfiguration<INVOICE_DETAIL>
    {
        public INVOICE_DETAILMap()
        {
            // Primary Key
            this.HasKey(t => t.ID);

            // Properties
            // Table & Column Mappings
            this.ToTable("INVOICE_DETAIL");
            this.Property(t => t.ID).HasColumnName("ID");
            this.Property(t => t.INVOICE_ID).HasColumnName("INVOICE_ID");
            this.Property(t => t.SERIAL_ID).HasColumnName("SERIAL_ID");
        }
    }
}
